#ifndef PROCESS_H
#define PROCESS_H

#include "Prerequisites.hpp"
#include "OS/resourceallocator.h"

class Process
{  
friend class Planner;
friend class ResourceAllocator;
friend class MainWindow;

friend class StartStop;
public:
    virtual void Run() = 0;
protected:
    Process();
    int id;
    String name;
    State state;
    int priority;
    int parentId;
    int currentStep;
    intListBase childProcessList;
    resourceListBase usingResourceList;
};

#endif // PROCESS_H
